﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Himp.TaskScheduling.EntityFrameworkCore;

public class TaskSchedulingHttpApiHostMigrationsDbContext : AbpDbContext<TaskSchedulingHttpApiHostMigrationsDbContext>
{
    public TaskSchedulingHttpApiHostMigrationsDbContext(DbContextOptions<TaskSchedulingHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureTaskScheduling();
    }
}
